import { get, post } from '@/utils/request'
const BASE_URL = window.baseUrl.icp

/**  分页列表 */
export function pageList(query) {
  return post(BASE_URL + '/ruleModel/pageList',query)
}
/**  关联指标列表  */
export function metricsList(query) {
  return get(BASE_URL + '/ruleModel/edit',{id:query})
}
/**  关联指标修改  */
export function updateMetrics(query) {
  return post(BASE_URL + '/ruleModel/updateMetrics',query)
}
